package request

type WeiboIndex struct {
	Index string `bind:"required" json:"index" form:"index" uri:"index"`
}

type SearchWeibo struct {
	Content string `bind:"required" json:"content" form:"content" uri:"content"`
}

// User register structure
type Register struct {
	Username     string   `json:"userName"`
	Password     string   `json:"passWord"`
	//NickName     string   `json:"nickName" gorm:"default:'QMPlusUser'"`
	HeaderImg    string   `json:"headerImg" gorm:"default:'https://qmplusimg.henrongyi.top/gva_header.jpg'"`
	//AuthorityId  string   `json:"authorityId" gorm:"default:888"`
	//AuthorityIds []string `json:"authorityIds"`
}

// User login structure
type Login struct {
	Username  string `json:"username"`  // 用户名
	Password  string `json:"password"`  // 密码
	//Captcha   string `json:"captcha"`   // 验证码
	//CaptchaId string `json:"captchaId"` // 验证码ID
}